﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using SJTU.SE.RoughSet.Lib.IO;

namespace SJTU.SE.RoughSet.Test.IO
{
    public class DecisionTableMockInitializer: IDecisionTableFileInitializer
    {
        
        public int ColumnCount { get { return 9; } }
        public int RowCount { get { return 17; } }

        public int[][] GetRawData()
        {
            /*  
            * core:a1,a3,a6
            */
            int[][] rawData = new int[17][];
            rawData[0] = new int[] { 2, 2, 3, 1, 2, 2, 2, 1, 2 };
            rawData[1] = new int[] { 2, 1, 3, 1, 2, 3, 1, 2, 1 };
            rawData[2] = new int[] { 2, 2, 2, 1, 2, 3, 2, 1, 2 };
            rawData[3] = new int[] { 1, 2, 1, 1, 1, 1, 2, 1, 3 };
            rawData[4] = new int[] { 2, 2, 2, 1, 2, 2, 2, 1, 1 };
            rawData[5] = new int[] { 3, 1, 3, 1, 2, 3, 1, 2, 2 };
            rawData[6] = new int[] { 1, 1, 2, 2, 2, 1, 1, 2, 1 };
            rawData[7] = new int[] { 3, 2, 3, 1, 2, 2, 2, 1, 2 };
            rawData[8] = new int[] { 2, 1, 3, 1, 2, 1, 1, 2, 2 };
            rawData[9] = new int[] { 1, 3, 1, 2, 1, 2, 1, 2, 3 };
            rawData[10] = new int[] { 1, 2, 2, 1, 1, 1, 2, 1, 1 };
            rawData[11] = new int[] { 1, 2, 2, 2, 1, 2, 1, 1, 3 };
            rawData[12] = new int[] { 3, 2, 3, 1, 2, 2, 2, 1, 2 };
            rawData[13] = new int[] { 1, 3, 4, 1, 1, 2, 2, 1, 3 };
            rawData[14] = new int[] { 2, 2, 3, 1, 2, 2, 2, 1, 2 };
            rawData[15] = new int[] { 1, 3, 1, 2, 1, 2, 1, 2, 1 };
            rawData[16] = new int[] { 1, 2, 2, 1, 1, 1, 2, 1, 1 };
            return rawData;
        }        
    }
}
